package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.RunfastBusiness;
import com.runfast.waimai.dao.model.RunfastBusinessExample;
import com.runfast.waimai.dao.model.RunfastShopper;

import java.util.Date;
import java.util.List;

public interface RunfastBusinessService extends IService<RunfastBusiness, Integer, RunfastBusinessExample> {
    public RunfastBusiness findById(Integer id);
    public List<RunfastBusiness> findByAll();

    Integer findtotal();

    List<RunfastBusiness> findByAgentnameAndbusinessnameAndTime(Integer agentid, String name, Date createtime1, Date createtime2);
}